<form action="/upload" method="post" enctype="multipart/form-data">
    {{ form.csrf_token() }}
    {{ form.photo() }}
    <input type="submit" value="提交">
</form>